package com.group7.mall.service;

import com.group7.mall.dto.SellerOrderDetailDto;
import com.group7.mall.dto.SellerOrderPreviewDto;
import com.group7.mall.entity.TbSeller;
import com.group7.mall.entity.TbUserOrder;
import com.group7.mall.req.SellerOrderPageRequest;
import com.group7.mall.resp.SellerOrderPageResponse;
import io.swagger.models.auth.In;

import java.util.List;

public interface SellerOrderService {

    SellerOrderPageResponse<SellerOrderPreviewDto> showOrderByPage(SellerOrderPageRequest sellerOrderPageRequest);

    SellerOrderDetailDto showOrderDetail(Integer orderId);

    Integer delivery(TbUserOrder tbUserOrder);

    Integer serviceFinish(TbUserOrder tbUserOrder);

    List<Integer> showOrderCount(Integer storeId);

    List<Double> showOrderPrice(TbSeller tbSeller);
}
